Change Datasource Pause Status
{ togglePauseDatasource }
Pause/UnPause usage of a datasource in the system
Method
/API3/dataSources/togglePauseDatasource
- Enterprise Admin
Input Parameters
Name
togglePauseDatasourceApiData
Object Type
Description
The toggle object to indicate the datasource state in the system.
Output Response
Successful Result Code
200
Response Type
Description of Response Type
Generic API response object with success or failure flag and related messages.
Notes
This function enables or disables the use of a datasource in the system. Requires the server ID. Use 'findServerByName' to find relevant server ID
Code Snippets
Use the Authentication API methods to generate an access 'key' or 'token' for use in code as shown below.
TypeScript
Curl
Java
C#
Python
PHP